package com.api.user.dao;

import com.api.core.ApiMapper;
import com.api.user.model.OrderCommditys;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrderCommditysMapper extends ApiMapper<OrderCommditys> {
    List<OrderCommditys> getByOrderId(@Param("orderId") Long orderId);

    List<OrderCommditys> getBySpecsId(@Param("specsId") Long specsId);
}